<include file="__THEME__/public_header" />
    <div id="page-wrap">
        <div id="main-wrap">
            <div class="profile-title  boxShadow">
                <include file="_top"/>              
                
            </div>
            
            <div id="col" class="st-grid boxShadow minh content-bg">
                <php>if($userPrivacy['space'] != 1){</php>
                <include file="_sidebar"/>
                    <div id="col5" class="st-index-main">
                        <div class="extend-foot">
                            <div class="tab-menu clearfix">                        
                                <ul>
                                  <li class="current"><span><a href="{:U('public/Profile/index',array('type'=>$type,'feed_type'=>'','uid'=>$uid))}">微博</a></span></li>
                                  <php>if($mid==$uid || CheckPermission('core_normal','read_data')){</php><li><span><a href="{:U('public/Profile/data',array('uid'=>$uid))}">资料</a></span></li><php>}</php>
                                </ul>
                            </div>
                            <div class="mod-feed-tab">
                                <ul class="inner-feed-nav">
                                    <li <eq name='feed_type' value=''>class="current"</eq>><a href="{:U('public/Profile/index',array('type'=>$type,'feed_type'=>'','feed_key'=>$feed_key,'uid'=>$uid))}">全部</a></li>
                                    <li <eq name='feed_type' value='post'>class="current"</eq>><a href="{:U('public/Profile/index',array('type'=>$type,'feed_type'=>'post','feed_key'=>$feed_key,'uid'=>$uid))}">原创</a></li>
                                    <li <eq name='feed_type' value='repost'>class="current"</eq>><a href="{:U('public/Profile/index',array('type'=>$type,'feed_type'=>'repost','feed_key'=>$feed_key,'uid'=>$uid))}">转发</a></li>
                                    <li <eq name='feed_type' value='postimage'>class="current"</eq>><a href="{:U('public/Profile/index',array('type'=>$type,'feed_type'=>'postimage','feed_key'=>$feed_key,'uid'=>$uid))}">图片</a></li>
                                    <li <eq name='feed_type' value='postfile'>class="current"</eq>><a href="{:U('public/Profile/index',array('type'=>$type,'feed_type'=>'postfile','feed_key'=>$feed_key,'uid'=>$uid))}">附件</a></li>
                                </ul>
                                <span class="right">
                                    <form action="{:U('public/Profile/index',array('uid'=>$uid))}" method="post" id="searchfeed">
                                    <div class="feed-search">
                                    <input type="hidden" name="type" value="{$type}">
                                    <input type="hidden" name="feed_type" value="{$feed_type}">
                                    <!-- <input type="hidden" name="uid" value="{$uid}"> -->
                                    <input class="s-txt left"  type="text" name='feed_key' value="{$feed_key}" id='feed_key'><a href="javascript:void(0)" class="ico-search left" onclick="if(getLength($('#feed_key').val())){ $('#searchfeed').submit(); return false;}"></a>
                                    </div>
                                    </form>
                                </span>
                            </div>
                            <!--feed list-->
                            {:W('FeedList',array('type'=>'space','feedApp'=>$_GET['feedApp'],'feed_type'=>$feed_type,'feed_key'=>$feed_key,'loadnew'=>0))}
                        </div>
                    </div>
                <php>}else{</php>
                    <p class="extend">-_-。sorry！根据对方隐私设置，您无权查看TA的主页</p>
                <php>}</php>
            </div>
            
        </div>
    </div>
<include file="__THEME__/public_footer" />
<script src="__THEME__/js/module.weibo.js"></script>